You have the option to set the parameters for PageOrientation.
In the code snippet example below, the page orientation is set to UPRIGHT:
Copy Code
|
|
---|---|
RecognitionParameters parameters = new RecognitionParameters();
parameters.setPageOrientation(PageOrientation.UPRIGHT);
|
There are 3 options to set the PageOrientation enumeration:
Original Image 90° |
Output PDF 90° |
|
|
Original Image 180° |
Output PDF 180° |
|
|
Original Image 90° |
Output PDF |
|
|
Original Image |
Output PDF |
|
|